﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.WebNemo.Business.Groups {
	public interface IGroupRecord {

		string Identyficator { get; }

		int RecordId { get; }

		int BelongsToGroupId { get; }

		DateTime CreatedTime { get; }

		int CreatedBy { get; }

		DateTime LastModifiedTime { get; }

		int LastModifiedBy { get; }

		object this[string column] { get; }

		object GetValue(string column);

		object SetValue(string column, object value);

		bool IsUpdated(string column);

		void ChangeIdentyficator(string ident);

		void Remove();

        void Save();

        void Save(int userId);

	}
}
